﻿<%@ Page Language="C#" %>

<%@ Import Namespace="wojilu" %>
<%@ Import Namespace="wojilu.View" %>
<%@ Import Namespace="wojilu.Web.Controller" %>
<%@ Import Namespace="wojilu.Apps.Qycms.Domain" %>
<%var site = v.data("site") as m_site; %>
<%var lngs = site.lngs; %>
<%var dlngs = site.dlngs; %>
<%var read = v.data("read") as System.Data.DataRow; %>

<!DOCTYPE html>
<html lang="pla">
<head>
	<meta charset="utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0" />
	<title>#{pageTitle}</title>
    <meta name="Keywords" content="#{pageKeywords}" />
    <meta name="description" content="#{pageDescription}" />
	<link rel="stylesheet" href="#{site.templates}css/style_en.css" type="text/css" media="all" />
	<script src="#{site.templates}js/jquery-1.8.0.min.js" type="text/javascript"></script>
	<script src="#{site.templates}js/jquery.touchwipe.1.1.1.js" type="text/javascript"></script>
	<script src="#{site.templates}js/jquery.carouFredSel-5.5.0-packed.js" type="text/javascript"></script>
	<script src="#{site.templates}js/functions.js" type="text/javascript"></script>
</head>
<body>
    <!-- wrapper -->
    <div class="wrapper">
        <!-- header -->
        #{top}
		<!-- end of header -->
        <!-- shell -->
        <div class="shell">
            <!-- main -->
            <div class="main">
                <section class="post">
                    <ul>
                        <li><span>#{site.position}:</span>
								<a href="#{site.dir}">#{site.hometitle}</a>&nbsp;&gt;&gt;&nbsp;#{daohang}</li>
                    </ul>
                </section>

                <section class="post2">
                    <ul>
                        <%var pagelist = v.data("pagelist") as DataPage<Document>; %>
                    <%if(pagelist.RecordCount>0){ %>
                    <%foreach (var row in pagelist.Results) { %>
                        <li>
                            <a href="<%=UrlLinkHelp.GetArticleReadLink(dlngs,lngs,row.Id) %>" title="<%=row.title %>" style=""><%=row.title %></a>
                            <span class="rt"><%=time.FormatDate(row.addtime,3) %></span>
                        </li><%} %><%} %>		
                    </ul>
                    <div id="pages" class="text-c" style="text-align:center;">
                        #{page}
                    </div>
                    <div class="cl">&nbsp;</div>
                </section>

            </div>
            <!-- end of main -->
        </div>
        <!-- end of shell -->
        #{bottom}
    </div>
    <!-- end of wrapper -->
</body>
</html>